﻿
/*
//修改密码
var fnCustomAdd = function () {
        var url = "/Extend/eMasterDetail.aspx?r=" + Math.random() + "&entity=" + const_EditEntity + "&subEntityName=EmpGoods&FKey=EmpID";
        //parent.addTabs('新增档案', url);
        document.getElementById("EditUIWindow").src = url;

        SetMaxDWH(YAHOO.example.container.dialog1);
        YAHOO.example.container.dialog1.show();
}
//
var fnCustomEdit = function () {
    var recordID = myDataTable.getSelectedRows()[0];
    record = myDataTable.getRecord(recordID);
    var url = "/Extend/eMasterDetail.aspx?r=" + Math.random() + "&entity=" + const_EditEntity + "&subEntityName=EmpGoods&FKey=EmpID&id=" + record.getData(const_entityID);
    //parent.addTabs('新增档案', url);
    document.getElementById("EditUIWindow").src = url;
    SetMaxDWH(YAHOO.example.container.dialog1);
    YAHOO.example.container.dialog1.show();
    //parent.addTabs('编辑档案', url);
}*/

